import request from '@/utils/request'

// 查询债券投资列表
export function listDealBaseBond(query) {
  return request({
    url: '/dael/BondProduct/list',
    method: 'get',
    params: query
  })
}

// 查询债券投资详细
export function getDealBaseBond(id) {
  return request({
    url: '/dael/BondProduct/' + id,
    method: 'get'
  })
}

// 保存债券投资
export function saveDealBaseBond(data) {
  return request({
    url: '/dael/BondProduct/save',
    method: 'post',
    data: data
  })
}

// 删除债券投资
export function delDealBaseBond(id) {
  return request({
    url: '/dael/BondProduct/' + id,
    method: 'delete'
  })
}
